PaymentPlugins\WooCommerce\PPCP\Payments\PaymentGateways S

Total Complexity 40
Dependencies 15
Dependents 12
Total lines 200
Lines of code 131
Logical lines of code 69
Comment lines 29
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
add_minicart_scripts()
S
59 8 14
load_scripts()
S
55 7 19
add_scripts()
S
54 5 19
get_available_payment_gateways()
S
71 3 6
initialize_gateways()
S
71 2 6
__construct()
S
58 1 14
add_admin_script_dependencies()
S
79 1 3
get_payment_method_registry()
S
82 1 3
get_general_asset_data()
S
65 1 9
add_product_scripts()
S
77 1 4
filter_by_available()
S
70 1 6
set_page_context()
S
81 1 3
get_minicart_payment_gateways()
S
77 1 4
get_express_payment_gateways()
S
81 1 3
get_product_payment_gateways()
S
80 1 3
get_cart_payment_gateways()
S
81 1 3
get_gateway()
S
80 1 3
has_gateway()
S
80 1 3
register_payment_methods()
S
80 1 3
get_api_settings()
S
82 1 3